<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.4.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/blogwebpage/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/blogwebpage/images/favicon.ico">
  <link rel="icon" type="image/png" sizes="16x16" href="/blogwebpage/images/favicon.ico">
  <link rel="mask-icon" href="/blogwebpage/images/logo.svg" color="#222">
  <meta name="msvalidate.01" content="9BDlx6FiNE">

<link rel="stylesheet" href="/blogwebpage/css/main.css">


<link rel="stylesheet" href="/blogwebpage/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"wangkejie.gitee.io","root":"/blogwebpage/","scheme":"Gemini","version":"7.8.0","exturl":true,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":true,"show_result":true,"style":"default"},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.xml"};
  </script>

  <meta name="description" content="LLDB官方文档地址 LLDB调试器LLVM源代码树，并在lldb 子目录中找到源代码：  git clone https:&#x2F;&#x2F;github.com&#x2F;llvm&#x2F;llvm-project.git请注意，LLDB通常使用CMake和Ninja从top-of-trunk构建。另外它构建：   在macOS上生成Xcode项目 在Linux和FreeBSD上使用clang和libstdc ++ &#x2F; lib">
<meta property="og:type" content="article">
<meta property="og:title" content="LLDB">
<meta property="og:url" content="https://wangkejie.gitee.io/blogwebpage/llvm/lldb.html">
<meta property="og:site_name" content="王科杰">
<meta property="og:description" content="LLDB官方文档地址 LLDB调试器LLVM源代码树，并在lldb 子目录中找到源代码：  git clone https:&#x2F;&#x2F;github.com&#x2F;llvm&#x2F;llvm-project.git请注意，LLDB通常使用CMake和Ninja从top-of-trunk构建。另外它构建：   在macOS上生成Xcode项目 在Linux和FreeBSD上使用clang和libstdc ++ &#x2F; lib">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2019-07-30T16:00:00.000Z">
<meta property="article:modified_time" content="2021-06-25T08:55:53.151Z">
<meta property="article:author" content="Jack Wang">
<meta property="article:tag" content="LLDB">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://wangkejie.gitee.io/blogwebpage/llvm/lldb.html">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>LLDB | 王科杰</title>
  


  <script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?93e26277de0cf2c5851167f2c6dcaa7d";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>




  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/blogwebpage/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">王科杰</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">Jack's Notes</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/blogwebpage/" rel="section"><i class="home fa-fw"></i>首页</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/blogwebpage/archives/" rel="section"><i class="archive fa-fw"></i>归档<span class="badge">52</span></a>

  </li>
        <li class="menu-item menu-item-about">

    <a href="/blogwebpage/me/" rel="section"><i class="user fa-fw"></i>关于</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/blogwebpage/tags/" rel="section"><i class="tags fa-fw"></i>标签<span class="badge">54</span></a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/blogwebpage/categories/" rel="section"><i class="th fa-fw"></i>分类<span class="badge">56</span></a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>

  <span class="exturl github-corner" data-url="aHR0cHM6Ly9naXRodWIuY29tL0phY2stVmluZw==" title="Follow me on GitHub" aria-label="Follow me on GitHub"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></span>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="https://wangkejie.gitee.io/blogwebpage/llvm/lldb.html">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/blogwebpage/images/avatar.gif">
      <meta itemprop="name" content="Jack Wang">
      <meta itemprop="description" content="书山有路勤为径，学海无涯苦作舟！">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="王科杰">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          LLDB
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2019-07-31 00:00:00" itemprop="dateCreated datePublished" datetime="2019-07-31T00:00:00+08:00">2019-07-31</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-folder"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/blogwebpage/categories/LLVM/" itemprop="url" rel="index"><span itemprop="name">LLVM</span></a>
                </span>
                  ，
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/blogwebpage/categories/LLVM/LLDB/" itemprop="url" rel="index"><span itemprop="name">LLDB</span></a>
                </span>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <p><span class="exturl" data-url="aHR0cHM6Ly9sbGRiLmxsdm0ub3JnLw==">LLDB官方文档地址<i class="fa fa-external-link-alt"></i></span></p>
<h1 id="LLDB调试器"><a href="#LLDB调试器" class="headerlink" title="LLDB调试器"></a>LLDB调试器</h1><p>LLVM源代码树，并在lldb 子目录中找到源代码：</p>
<blockquote>
<p>git clone <span class="exturl" data-url="aHR0cHM6Ly9naXRodWIuY29tL2xsdm0vbGx2bS1wcm9qZWN0LmdpdA==">https://github.com/llvm/llvm-project.git<i class="fa fa-external-link-alt"></i></span><br>请注意，LLDB通常使用CMake和Ninja从top-of-trunk构建。另外它构建：</p>
</blockquote>
<ul>
<li>在macOS上生成Xcode项目</li>
<li>在Linux和FreeBSD上使用clang和libstdc ++ / libc ++</li>
<li>在NetBSD上使用GCC / clang和libstdc ++ / libc ++</li>
<li>在Windows上生成VS 2017或更高版本的项目</li>
</ul>
<p>先说大话：</p>
<ul>
<li>构建库以包含在IDE，命令行工具和其他分析工具中</li>
<li>高性能和高效的内存使用</li>
<li>可扩展：Python可编写脚本并使用插件架构</li>
<li>在有意义的地方重用现有的编译器技术</li>
<li>出色的多线程调试支持</li>
<li>对C，Objective-C和C ++的大力支持</li>
<li>可重定向以支持多个平台</li>
<li>为调试器研究和其他创新提供基础</li>
</ul>
<p>LDB支持各种基本调试功能，如读取DWARF，支持步骤，下一步，完成，回溯等。一些更感兴趣的位是：</p>
<ul>
<li>用于可移植性和可扩展性的插件架构：<ul>
<li>可执行文件格式的目标文件解析器。目前支持包括Mach-O（32位和64位）和ELF（32位）。</li>
<li>对象容器解析器，用于提取文件中包含的对象文件。支持目前包括通用Mach-O文件和BSD档案。</li>
<li>调试符号文件解析器以从对象文件中逐步提取调试信息。支持目前包括DWARF和Mach-O符号表。</li>
<li>符号供应商插件从可执行对象的各种不同源收集数据。</li>
<li>每个体系结构的反汇编插件。支持目前包括用于i386，x86-64，ARM / Thumb和PPC64le的LLVM反汇编程序</li>
<li>调试器插件实现调试所需的主机和目标特定功能。</li>
</ul>
</li>
<li>SWIG生成的脚本桥接允许Python访问和控制调试器库的公共API。</li>
<li>远程协议服务器debugserver在i386和x86-64上实现macOS调试。</li>
<li>命令行调试器 - lldb可执行文件本身。</li>
<li>库的框架API。</li>
</ul>
<h2 id="编译器集成的好处"><a href="#编译器集成的好处" class="headerlink" title="编译器集成的好处"></a>编译器集成的好处</h2><p>LLDB目前将调试信息转换为clang类型，以便它可以利用clang编译器基础结构。这允许LLDB在表达式中支持最新的C，C ++，Objective-C和Objective-C ++语言特性和运行时，而无需重新实现任何此功能。它还利用编译器在对表达式进行函数调用时，在反汇编指令和提取指令细节等时处理所有ABI细节。</p>
<p>主要好处包括：</p>
<ul>
<li>最新的C，C ++，Objective-C语言支持</li>
<li>可以声明局部变量和类型的多行表达式</li>
<li>支持时使用JIT表达式</li>
<li>当不能使用JIT时，评估表达式中间表示（IR）</li>
</ul>
<h1 id="使用"><a href="#使用" class="headerlink" title="使用"></a>使用</h1><h2 id="命令结构"><a href="#命令结构" class="headerlink" title="命令结构"></a>命令结构</h2><blockquote>
<p><code>&lt;noun&gt; &lt;verb&gt; [-options [option-value]] [argument [argument...]]</code></p>
</blockquote>
<p>选项可以放在命令行的任何位置，但是如果参数以“ - ”开头，那么你必须告诉lldb你已经完成了当前命令的选项，方法是添加一个选项终止：“ - ”所以例如如果你想启动一个进程并给“进程启动”命令“-stop-at-entry”选项，但是你想要启动你要启动的进程并使用参数“-program_arg value”，你会输入：</p>
<ul>
<li><p>(lldb) process launch –stop-at-entry – -program_arg value</p>
</li>
<li><p>要在LLDB中设置相同的文件和换行符，您可以输入以下任一项：<br>(lldb) breakpoint set –file foo.c –line 12<br>(lldb) breakpoint set -f foo.c -l 12</p>
</li>
<li><p>您可以多次使用-name选项在一组函数上创建断点。<br>(lldb) breakpoint set –name foo<br>(lldb) breakpoint set -n foo<br>(lldb) breakpoint set –name foo –name bar</p>
</li>
<li><p>要在名为foo的所有C ++方法上设置断点，您可以输入以下任一项：<br>(lldb) breakpoint set –method foo<br>(lldb) breakpoint set -M foo</p>
</li>
<li><p>设置一个名为alignLeftEdges的断点Objective-C选择器：<br>(lldb) breakpoint set –selector alignLeftEdges:<br>(lldb) breakpoint set -S alignLeftEdges:</p>
</li>
<li><p>您可以使用“-shlib &lt;path&gt;”（简称“-s &lt;path&gt;”）将任何断点限制为特定的可执行映像：<br>(lldb) breakpoint set –shlib foo.dylib –name foo<br>(lldb) breakpoint set -s foo.dylib -n foo</p>
</li>
<li><p>lldb命令解释器对命令名进行最短的唯一字符串匹配，因此以下两个命令都将执行相同的命令：<br>(lldb) breakpoint set -n “-[SKTGraphicView alignLeftEdges:]”<br>(lldb) br s -n “-[SKTGraphicView alignLeftEdges:]”</p>
</li>
</ul>
<h2 id="设置观察点"><a href="#设置观察点" class="headerlink" title="设置观察点"></a>设置观察点</h2><p>除断点外，您还可以使用help watchpoint查看监视点操作的所有命令。例如，我们可能会执行以下操作来查看名为“global”的变量进行写入操作，但只有在条件“（global == 5）”为真时才会停止：</p>
<p>(lldb) watch set var global<br>(lldb) watch modify -c ‘(global==5)’<br>(lldb) watch list<br>(lldb) about to write to ‘global’…</p>
<h2 id="启动或附加到您的程序"><a href="#启动或附加到您的程序" class="headerlink" title="启动或附加到您的程序"></a>启动或附加到您的程序</h2><ul>
<li><p>要在lldb中启动程序，我们使用“process launch”命令或其内置别名之一：<br>(lldb) process launch<br>(lldb) run<br>(lldb) r</p>
</li>
<li><p>您还可以按进程ID或进程名称附加到进程。当按名称附加到进程时，lldb还支持“-waitfor”选项，该选项等待显示该名称的下一个进程，并附加到该进程<br>(lldb) process attach –pid 123<br>(lldb) process attach –name Sketch<br>(lldb) process attach –name Sketch –waitfor</p>
</li>
<li><p>启动或附加到进程后，您的进程可能会在某处停止：</p>
<figure class="highlight routeros"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">(lldb) process attach -p 12345</span><br><span class="line">Process 46915 Attaching</span><br><span class="line">Process 46915 Stopped</span><br><span class="line">1 of 3 threads stopped with reasons:</span><br><span class="line">* thread #1: tid = 0x2c03, 0x00007fff85cac76a, where = libSystem.B.dylib`__getdirentries64 + 10, stop reason = signal = SIGSTOP,<span class="built_in"> queue </span>= com.apple.main-thread</span><br></pre></td></tr></table></figure></li>
</ul>
<h2 id="控制你的程序"><a href="#控制你的程序" class="headerlink" title="控制你的程序"></a>控制你的程序</h2><ul>
<li><p>启动后，我们可以继续，直到我们达到断点。进程控制的原始命令都存在于“thread”命令下：<br>(lldb) thread continue<br>Resuming thread 0x2c03 in process 46915<br>Resuming process 46915<br>(lldb)</p>
</li>
<li><p>步进命令<br>(lldb) thread step-in    // The same as gdb’s “step” or “s”<br>(lldb) thread step-over  // The same as gdb’s “next” or “n”<br>(lldb) thread step-out   // The same as gdb’s “finish” or “f”</p>
</li>
<li><p>逐步指令版本：<br>(lldb) thread step-inst       // The same as gdb’s “stepi” / “si”<br>(lldb) thread step-over-inst  // The same as gdb’s “nexti” / “ni”</p>
</li>
<li><p>最后，lldb运行直到行或帧退出步进模式：<br>(lldb) thread until 100</p>
</li>
</ul>
<h2 id="检查堆栈帧状态"><a href="#检查堆栈帧状态" class="headerlink" title="检查堆栈帧状态"></a>检查堆栈帧状态</h2><ul>
<li>检查框架参数和局部变量的最方便方法是使用“frame variable”命令：<br>(lldb) frame variable</li>
</ul>
<h1 id="不想写了，用到的时候，写一些用到的东西吧，学习的话，大家去看官方文档吧！！！"><a href="#不想写了，用到的时候，写一些用到的东西吧，学习的话，大家去看官方文档吧！！！" class="headerlink" title="不想写了，用到的时候，写一些用到的东西吧，学习的话，大家去看官方文档吧！！！"></a>不想写了，用到的时候，写一些用到的东西吧，学习的话，大家去看官方文档吧！！！</h1>
    </div>

    
    
    
        <div class="reward-container">
  <div>希望对您有所帮助，您的支持将是我莫大的动力！</div>
  <button onclick="var qr = document.getElementById('qr'); qr.style.display = (qr.style.display === 'none') ? 'block' : 'none';">
    打赏
  </button>
  <div id="qr" style="display: none;">
      
      <div style="display: inline-block;">
        <img src="/blogwebpage/images/wechatpay.png" alt="Jack Wang 微信支付">
        <p>微信支付</p>
      </div>
      
      <div style="display: inline-block;">
        <img src="/blogwebpage/images/alipay.png" alt="Jack Wang 支付宝">
        <p>支付宝</p>
      </div>

  </div>
</div>


      <footer class="post-footer">
          <div class="post-tags">
              <a href="/blogwebpage/tags/LLDB/" rel="tag"># LLDB</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/blogwebpage/iOS/crashreport/crashanalysis.html" rel="prev" title="iOS程序崩溃抓获与分析">
      <i class="fa fa-chevron-left"></i> iOS程序崩溃抓获与分析
    </a></div>
      <div class="post-nav-item">
    <a href="/blogwebpage/flutter/index.html" rel="next" title="Flutter">
      Flutter <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
          <div class="post-toc motion-element"><ol class="nav"><li class="nav-item nav-level-1"><a class="nav-link" href="#LLDB%E8%B0%83%E8%AF%95%E5%99%A8"><span class="nav-number">1.</span> <span class="nav-text">LLDB调试器</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E7%BC%96%E8%AF%91%E5%99%A8%E9%9B%86%E6%88%90%E7%9A%84%E5%A5%BD%E5%A4%84"><span class="nav-number">1.1.</span> <span class="nav-text">编译器集成的好处</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E4%BD%BF%E7%94%A8"><span class="nav-number">2.</span> <span class="nav-text">使用</span></a><ol class="nav-child"><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%91%BD%E4%BB%A4%E7%BB%93%E6%9E%84"><span class="nav-number">2.1.</span> <span class="nav-text">命令结构</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E8%AE%BE%E7%BD%AE%E8%A7%82%E5%AF%9F%E7%82%B9"><span class="nav-number">2.2.</span> <span class="nav-text">设置观察点</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E5%90%AF%E5%8A%A8%E6%88%96%E9%99%84%E5%8A%A0%E5%88%B0%E6%82%A8%E7%9A%84%E7%A8%8B%E5%BA%8F"><span class="nav-number">2.3.</span> <span class="nav-text">启动或附加到您的程序</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E6%8E%A7%E5%88%B6%E4%BD%A0%E7%9A%84%E7%A8%8B%E5%BA%8F"><span class="nav-number">2.4.</span> <span class="nav-text">控制你的程序</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#%E6%A3%80%E6%9F%A5%E5%A0%86%E6%A0%88%E5%B8%A7%E7%8A%B6%E6%80%81"><span class="nav-number">2.5.</span> <span class="nav-text">检查堆栈帧状态</span></a></li></ol></li><li class="nav-item nav-level-1"><a class="nav-link" href="#%E4%B8%8D%E6%83%B3%E5%86%99%E4%BA%86%EF%BC%8C%E7%94%A8%E5%88%B0%E7%9A%84%E6%97%B6%E5%80%99%EF%BC%8C%E5%86%99%E4%B8%80%E4%BA%9B%E7%94%A8%E5%88%B0%E7%9A%84%E4%B8%9C%E8%A5%BF%E5%90%A7%EF%BC%8C%E5%AD%A6%E4%B9%A0%E7%9A%84%E8%AF%9D%EF%BC%8C%E5%A4%A7%E5%AE%B6%E5%8E%BB%E7%9C%8B%E5%AE%98%E6%96%B9%E6%96%87%E6%A1%A3%E5%90%A7%EF%BC%81%EF%BC%81%EF%BC%81"><span class="nav-number">3.</span> <span class="nav-text">不想写了，用到的时候，写一些用到的东西吧，学习的话，大家去看官方文档吧！！！</span></a></li></ol></div>
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
    <img class="site-author-image" itemprop="image" alt="Jack Wang"
      src="/blogwebpage/images/avatar.gif">
  <p class="site-author-name" itemprop="name">Jack Wang</p>
  <div class="site-description" itemprop="description">书山有路勤为径，学海无涯苦作舟！</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/blogwebpage/archives/">
        
          <span class="site-state-item-count">52</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/blogwebpage/categories/">
          
        <span class="site-state-item-count">56</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/blogwebpage/tags/">
          
        <span class="site-state-item-count">54</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>
  <div class="links-of-author motion-element">
      <span class="links-of-author-item">
        <span class="exturl" data-url="aHR0cHM6Ly9naXRodWIuY29tL0phY2stVmluZw==" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;Jack-Ving"><i class="github fa-fw"></i>GitHub</span>
      </span>
      <span class="links-of-author-item">
        <span class="exturl" data-url="bWFpbHRvOjcyNzg4MTk0NUBxcS5jb20=" title="E-Mail → mailto:727881945@qq.com"><i class="envelope fa-fw"></i>E-Mail</span>
      </span>
  </div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        
  <div class="beian"><span class="exturl" data-url="aHR0cHM6Ly9iZWlhbi5taWl0Lmdvdi5jbg==">京ICP备16036665号-2 </span>
  </div>

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Jack Wang</span>
</div>
  <div class="powered-by">由 <span class="exturl theme-link" data-url="aHR0cHM6Ly9oZXhvLmlv">Hexo</span> & <span class="exturl theme-link" data-url="aHR0cHM6Ly90aGVtZS1uZXh0Lm9yZw==">NexT.Gemini</span> 强力驱动
  </div>

        


  <div style="display: none;">
    <script src="//s95.cnzz.com/z_stat.php?id=1277804316&web_id=1277804316"></script>
  </div>






      </div>
    </footer>
  </div>

  
  <script src="/blogwebpage/lib/anime.min.js"></script>
  <script src="/blogwebpage/lib/velocity/velocity.min.js"></script>
  <script src="/blogwebpage/lib/velocity/velocity.ui.min.js"></script>

<script src="/blogwebpage/js/utils.js"></script>

<script src="/blogwebpage/js/motion.js"></script>


<script src="/blogwebpage/js/schemes/pisces.js"></script>


<script src="/blogwebpage/js/next-boot.js"></script>




  
  <script>
    (function(){
      var canonicalURL, curProtocol;
      //Get the <link> tag
      var x=document.getElementsByTagName("link");
		//Find the last canonical URL
		if(x.length > 0){
			for (i=0;i<x.length;i++){
				if(x[i].rel.toLowerCase() == 'canonical' && x[i].href){
					canonicalURL=x[i].href;
				}
			}
		}
    //Get protocol
	    if (!canonicalURL){
	    	curProtocol = window.location.protocol.split(':')[0];
	    }
	    else{
	    	curProtocol = canonicalURL.split(':')[0];
	    }
      //Get current URL if the canonical URL does not exist
	    if (!canonicalURL) canonicalURL = window.location.href;
	    //Assign script content. Replace current URL with the canonical URL
      !function(){var e=/([http|https]:\/\/[a-zA-Z0-9\_\.]+\.baidu\.com)/gi,r=canonicalURL,t=document.referrer;if(!e.test(r)){var n=(String(curProtocol).toLowerCase() === 'https')?"https://sp0.baidu.com/9_Q4simg2RQJ8t7jm9iCKT-xh_/s.gif":"//api.share.baidu.com/s.gif";t?(n+="?r="+encodeURIComponent(document.referrer),r&&(n+="&l="+r)):r&&(n+="?l="+r);var i=new Image;i.src=n}}(window);})();
  </script>




  
<script src="/blogwebpage/js/local-search.js"></script>













  

  

</body>
</html>
